package com.slz3.business.module.messageManagement.mesLog.domain;

import com.slz3.business.frame.annotation.ConfigDomain;
import com.slz3.business.module.messageManagement.mesLog.repository.MesLogRepository;
import com.slz3.business.module.messageManagement.mesTemplate.domain.MesTemplate;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
@ConfigDomain(repositoryClass = MesLogRepository.class)
@Entity
@Table(schema = "message_management", name = "mes_log")
@Data
@EqualsAndHashCode(callSuper = true)
public class MesLog extends MesLogEntity implements Serializable {

    private static final long serialVersionUID = 3928173855627287110L;

    /**
     * 消息模板（对象）
     */
    private MesTemplate mesTemplate;

}
